<template>
    <div >
        <view class="header">
            <div class="flexbox">
                <div></div>
                <div>{{title}}</div>
                <image src="../../static/upload.png" class="upload" @click="toCircle"></image>
            </div>
        </view>
    </div>
</template>

<script>
export default {
    props:{
        title:{
            default:'朋友圈',
            type:String
        }
    },
    data() {
        return {
            statusBarH: 0,
            customBarH: 0,
            titleColor: '#000',
            bgColor: '#fff'
        }
    },
    created() {
        let self = this;
    },
    methods:{
        toCircle() {
            uni.navigateTo({
                url:"../../pages/friendsCircle/releaseCircle"
            })
        }
    }
}
</script>

<style lang="scss" scoped>
.header {
    background: #FF80AB;
    width: 100vw;
    height: 5.5vh;
}

.flexbox {
    padding: 0 8px 0 15px;
    font-weight: 700;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    align-items: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: #FF80AB !important;
    // padding: 0 8rpx;
    .upload{
        width: 25px;
        height: 25px;
    }
}
</style>